package com.cps.framecommon.exception;

public class ErrorCodeException extends RuntimeException {

  private static final long serialVersionUID = -4556515656361708799L;

  private int errorCode = 200;

  public ErrorCodeException(int errorCode, String message) {
    super(message);
    setErrorCode(errorCode);
  }

  public int getErrorCode() {
    return this.errorCode;
  }

  public void setErrorCode(int errorCode) {
    this.errorCode = errorCode;
  }
}
